<?php
session_start();
include "KoneksiDB.php";
$username = $_SESSION['username'];
echo "<h1>selamat datang  : " . $username . "</h1>";
// tampilkan menu user
echo "<p>[ <a href='FormTambahArtikel.php'>tambah artikel</a> ] [ <a href='FormHapusArtikel.php'>Hapus Artikel</a> ] [ <a href='lihatkontribusi.php'>lihat kontribusi</a> ][ <a href='logout.php'>Logout</a> ]</p> ";
?>

<form method="post" enctype="multipart/form-data" action="upload.php">
    <table>
        
        <tr><td>tanggal penelitian</td><td>:</td>
  <td><input  name="tanggal" type="text" id="tanggal"  size="30" maxlength="30"></td>
  </tr>
       <tr><td><input type="hidden" name="MAX_FILE_SIZE" value="2000000">
                <input name="userfile" type="file">
            </td>
             <td><input name="upload" type="submit" value="Upload">
            </td>

        </tr>

        <!--
 <tr><td>Tanggal  penelitian</td><td>:</td>
  <td><select name="tgl" size="1"  id="tgl">
  <?php
//  for ($i=1;$i<=31;$i++)
//  {
//  echo "<option  value=".$i.">".$i."</option>";
//  }
//  ?>
  </select>
  <select  name="bln" size="1" id="bln">
  //<?php
//  $bulan=array("","Januari","Pebruari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember");
//  for ($i=1;$i<=12;$i++)
//  {
//  echo "<option  value=".$i.">".$bulan[$i]."</option>";
//  }
//  ?>
  </select>
  <select  name="thn" size="1" id="thn">
  //<?php
//  for ($i=1985;$i<=2000;$i++)
//  {
//  echo "<option  value=".$i.">".$i."</option>";
//  }
//  ?>
  </select></td>
  </tr>


-->
    </table>
</form>